<!DOCTYPE html>
<html>
    <head>
        <title>CSS Regions: flowing an iframe that loads content with 3D transform</title>
        <link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com">
        <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
        <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-from-property">
        <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-functions">
        <meta name="assert" content="Test checks that flowing an iframe that loads content with 3D transforms in a region renders without artifacts.">
        <meta name="flags" content="ahem">
        <link rel="match" href="reference/iframe-001-ref.html">
        <style>
        .flow {
            flow-into: f;
        }

        .region {
            flow-from: f;
            width: 400px;
            height: 300px;
        }
        .region p {
            background-color: red;
            height: 50%;
        }
        </style>
    </head>
    <body>
        <p>Test passes if you see horizontal green rectangle and no red.</p>

        <iframe src="support/3d-filler.html" frameborder="0" class="flow" width="400" height="300"></iframe>
        <div class="region">
            <p>&nbsp;</p>
        </div>
    </body>
</html>